define
(    
    function()
    {
        var strings = 
        {
            document_not_found: "Document not found"
        };

        return function(key)
        {
            return strings[key];
        };
    }
);